package part3;

public class Main {
    public static void main(String[] args) {
        Integer x = Integer.valueOf(127);
        Integer y = new Integer(127);
        Integer z = Integer.valueOf(127);
        Integer w = new Integer(127);

        System.out.println(x.equals(y));
        System.out.println(x == y);
        System.out.println(x == z);
        System.out.println(x == w);
        System.out.println(w == y);

        Integer a = Integer.valueOf(200);
        Integer b = Integer.valueOf(200);
        System.out.println(a == b);
    }
}
